package com.bjsxt.creat1;

//线程的创建方式2：实现Runnable接口
public class TortoiseRunnable implements Runnable {
    @Override
    public void run() {
        while (true) {
            System.out.println("乌龟领先了，加油！" + Thread.currentThread().getName() + "  "
                    + Thread.currentThread().getPriority());
        }
    }
}
